<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="borderImage">
        测测测测测试试试试试试
    </div>
    <style>
        .borderImage{
            padding: 20px 100px;
            width: 150px;
            height: 100px;
            border: 1px solid;
            -webkit-border-image: url(./border.png) 30 round;
            border-image-source: url(./border.png) 30 round;
            border-image-width: 10px;
        }
    </style>
</body>
</html>